﻿using Sample.Novel.Domain;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace Sample.Novel.Application
{
    /// <summary>
    /// 
    /// </summary>
    [DependsOn(
        typeof(NovelDomainModule),
        typeof(AbpAutoMapperModule)
        )]
    public class NovelApplicationModule
        : AbpModule
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="context"></param>
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpAutoMapperOptions>(options =>
            {
                options.AddMaps<NovelApplicationModule>();
                options.AddProfile<AutoMapperProfile>();
            });
        }
    }
}
